package com.zyk.scaffold.user.controller.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class PwdResetTokenReq implements Serializable {

    @ApiModelProperty(value = "邮箱", required = true)
    @NotNull(message = "邮箱不能为空!")
    private String email;

    @ApiModelProperty(value = "验证码Md5", required = true)
    @NotNull(message = "验证码Md5不能为空!")
    private String verificationCodeMd5;
}
